package com.live.dengdengtv.activity.support;


/**
 * 当前直播信息页面
 */
public class CurLiveInfo {
    private static int members;
    private static int admires;
    private static String title;
    private static double lat1;
    private static double long1;
    private static String address = "";
    private static String Avatorurl = "";

    public static int roomNum;

    public static String hostID;
    public static String hostName;
    public static String hostAvator;

    public static int currentRequestCount = 0;

    public static int getCurrentRequestCount() {
        return currentRequestCount;
    }

    public static int getIndexView() {
        return indexView;
    }

    public static void setIndexView(int indexView) {
        CurLiveInfo.indexView = indexView;
    }

    public static int indexView = 0;

    public static void setCurrentRequestCount(int currentRequestCount) {
        CurLiveInfo.currentRequestCount = currentRequestCount;
    }

    public static String getHostID() {
        return hostID;
    }

    public static void setHostID(String hostID) {
        CurLiveInfo.hostID = hostID;
    }

    public static String getHostName() {
        return hostName;
    }

    public static void setHostName(String hostName) {
        CurLiveInfo.hostName = hostName;
    }

    public static String getHostAvator() {
        return hostAvator;
    }

    public static void setHostAvator(String hostAvator) {
        CurLiveInfo.hostAvator = hostAvator;
    }

    public static int getMembers() {
        return members;
    }

    public static void setMembers(int members) {
        CurLiveInfo.members = members;
    }

    public static int getAdmires() {
        return admires;
    }

    public static void setAdmires(int admires) {
        CurLiveInfo.admires = admires;
    }

    public static String getTitle() {
        return title;
    }

    public static void setTitle(String title) {
        CurLiveInfo.title = title;
    }

    public static double getLat1() {
        return lat1;
    }

    public static void setLat1(double lat1) {
        CurLiveInfo.lat1 = lat1;
    }

    public static double getLong1() {
        return long1;
    }

    public static void setLong1(double long1) {
        CurLiveInfo.long1 = long1;
    }

    public static String getAddress() {
        return address;
    }

    public static void setAddress(String address) {
        CurLiveInfo.address = address;
    }

    public static int getRoomNum() {
        return CurLiveInfo.roomNum;
    }

    public static void setRoomNum(int roomNum) {
        CurLiveInfo.roomNum = roomNum;
    }

    public static String getCoverurl() {
        return coverurl;
    }

    public static void setCoverurl(String coverurl) {
        CurLiveInfo.coverurl = coverurl;
    }

    public static String getChatRoomId() {
        return "" + roomNum;
    }


    private static int idStatus;
    public static int getIdStatus() {
        return idStatus;
    }

    public static void setIdStatus(int id_status) {
        idStatus = id_status;
    }
    private static boolean isCreateRoom;
    public static boolean isCreateRoom() {
        return isCreateRoom;
    }

    public static void setJoinRoomWay(boolean isCreateRoom) {
        CurLiveInfo.isCreateRoom = isCreateRoom;
    }

    /**头像地址*/
    private static String coverurl = "";

    public static String getAvatorurl() {
        return Avatorurl;
    }

    public static void setAvatorurl(String avatorurl) {
        Avatorurl = avatorurl;
    }

    /**app服务器的直播id*/
    private static String liveId = "";

    public static String getLiveId() {
        return CurLiveInfo.liveId;
    }


    public static void setLiveId(String liveId) {
        CurLiveInfo.liveId = liveId;
    }

    private static int virTicket = 0;

    public static int getVirTicket() {
        return virTicket;
    }

    public static void setVirTicket(int virTicket) {
        CurLiveInfo.virTicket = virTicket;
    }

    public static void addVirTicket(String giftValue) {
        try {
            int value = Integer.parseInt(giftValue);
            virTicket = virTicket + value;
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
